const options = {
  // '/dingdan': async (req, res, next) => {
  //   写你想要写的逻辑
  //   const data = req.body
  //   req.body = {}
  //   next()
  // }
}
module.exports = (req, res, next) => {
  // res.setHeader('Access-Control-Allow-Origin', '*')
  options[req.path] && options[req.path](req, res, next)
}